

package com.czd.support.model;

import com.czd.base.model.Page;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
* Created with IntelliJ IDEA.
* Author: Jerry.hu
* Create: Jerry.hu (14-6-25 10:44)
* Description:充值历史类
*/
@Alias("handselHistory")
public class HandselHistory extends Page {

    /**
	 * 
	 */
	private static final long serialVersionUID = -1370894967850131202L;
	/**
     * 主键
     */
    private int id;
    /**
     * 用户id
     */
    private int userId;
    /**
     * 充值类型
     */
    private String type;
    /**
     * 金额
     */
    private double amount;
    /**
     * 创建人
     */
    private int creator;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 支付状态 0 待支付，1已支付，-1 取消支付
     */
    private int status;

    private double balance;

    /**
     * 设置
     *
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return int
     */
    public int getId() {
        return this.id;
    }

    /**
     * 设置
     *
     * @param userId
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 获取
     *
     * @return int
     */
    public int getUserId() {
        return this.userId;
    }

    /**
     * 设置 充值类型
     *
     * @param type 充值类型
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取 充值类型
     *
     * @return 充值类型 String
     */
    public String getType() {
        return this.type;
    }

    /**
     * 设置
     *
     * @param amount
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

    /**
     * 获取
     *
     * @return int
     */
    public double getAmount() {
        return this.amount;
    }

    /**
     * 设置
     *
     * @param creator
     */
    public void setCreator(int creator) {
        this.creator = creator;
    }

    /**
     * 获取
     *
     * @return int
     */
    public int getCreator() {
        return this.creator;
    }

    /**
     * 设置
     *
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     *
     * @return Date
     */
    public Date getCreateTime() {
        return this.createTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}

